package idv.loveloser.dao;

/**
 * AbstractMdlUserPrivateKey entity provides the base persistence definition of
 * the MdlUserPrivateKey entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlUserPrivateKey implements java.io.Serializable {

	// Fields

	private Long id;
	private String script;
	private String value;
	private Long userid;
	private Long instance;
	private String iprestriction;
	private Long validuntil;
	private Long timecreated;

	// Constructors

	/** default constructor */
	public AbstractMdlUserPrivateKey() {
	}

	/** minimal constructor */
	public AbstractMdlUserPrivateKey(String script, String value, Long userid) {
		this.script = script;
		this.value = value;
		this.userid = userid;
	}

	/** full constructor */
	public AbstractMdlUserPrivateKey(String script, String value, Long userid,
			Long instance, String iprestriction, Long validuntil,
			Long timecreated) {
		this.script = script;
		this.value = value;
		this.userid = userid;
		this.instance = instance;
		this.iprestriction = iprestriction;
		this.validuntil = validuntil;
		this.timecreated = timecreated;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getScript() {
		return this.script;
	}

	public void setScript(String script) {
		this.script = script;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getInstance() {
		return this.instance;
	}

	public void setInstance(Long instance) {
		this.instance = instance;
	}

	public String getIprestriction() {
		return this.iprestriction;
	}

	public void setIprestriction(String iprestriction) {
		this.iprestriction = iprestriction;
	}

	public Long getValiduntil() {
		return this.validuntil;
	}

	public void setValiduntil(Long validuntil) {
		this.validuntil = validuntil;
	}

	public Long getTimecreated() {
		return this.timecreated;
	}

	public void setTimecreated(Long timecreated) {
		this.timecreated = timecreated;
	}

}